import {http} from '../http';

const  _HTTP= new http();

// 园区列表无分页
export const yuanquList = function (data) {
    return _HTTP.request({
        method: 'GET',
        url: "/park_list",
        data: data,
    })
}


// 园区列表有分页
export const yuanquPageList = function (data) {
    return _HTTP.request({
        method: 'GET',
        url: "/park_listpage",
        data: data,
    })
}


// 单个园区
export const yuanqu = function (data) {
    return _HTTP.request({
        method: 'GET',
        url: "/park_get",
        data: data,
    })
}
// 获取所有园区坐标
export const getAllCoordinates = function () {
    return _HTTP.request({
        method: 'GET',
        url: "/park/getAllCoordinates"
    })
}